1 //------------------------------------------------------------------------------
2 // <auto-generated>
3 // This code was generated
by a tool.
4 // Runtime Version:
4.0.30319.34209
5 //
6 // Changes to
this file may cause incorrect behavior and will be lost if
7 // the code
is regenerated.
8 // </auto-generated>
9 //------------------------------------------------------------------------------

10
11 namespace
WarehouseManagementSystem {
12     
using System;
13     
using System.ComponentModel;
14     
using CrystalDecisions.Shared;
15     
using CrystalDecisions.ReportSource;
16     
using CrystalDecisions.CrystalReports.Engine;
17     
18     
19     
public class rptInvoice : ReportClass {
20         
21         
public rptInvoice() {
22         }
23         
24         
public override string ResourceName {
25             
get {
26                 
return "rptInvoice.rpt";
27             }
28             
set {
29                 
// Do nothing
30             }
31         }
32         
33         
public override bool NewGenerator {
34             
get {
35                 
return true;
36             }
37             
set {
38                 
// Do nothing
39             }
40         }
41         
42         
public override string FullResourceName {
43             
get {
44                 
return "WarehouseManagementSystem.rptInvoice.rpt";
45             }
46             
set {
47                 
// Do nothing
48             }
49         }
50         
51         
[Browsable(false)]
52         
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
53         
public CrystalDecisions.CrystalReports.Engine.Section Section1 {
54             
get {
55                 
return this.ReportDefinition.Sections[0];
56             }
57         }
58         
59         
[Browsable(false)]
60         
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
61         
public CrystalDecisions.CrystalReports.Engine.Section Section2 {
62             
get {
63                 
return this.ReportDefinition.Sections[1];
64             }
65         }
66         
67         
[Browsable(false)]
68         
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
69         
public CrystalDecisions.CrystalReports.Engine.Section Section3 {
70             
get {
71                 
return this.ReportDefinition.Sections[2];
72             }
73         }
74         
75         
[Browsable(false)]
76         
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
77         
public CrystalDecisions.CrystalReports.Engine.Section Section4 {
78             
get {
79                 
return this.ReportDefinition.Sections[3];
80             }
81         }
82         
83         
[Browsable(false)]
84         
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
85         
public CrystalDecisions.CrystalReports.Engine.Section Section5 {
86             
get {
87                 
return this.ReportDefinition.Sections[4];
88             }
89         }
90     }
91     
92     
[System.Drawing.ToolboxBitmapAttribute(typeof(CrystalDecisions.Shared.ExportOptions), "report.bmp")]
93     
public class CachedrptInvoice : Component, ICachedReport {
94         
95         
public CachedrptInvoice() {
96         }
97         
98         
[Browsable(false)]
99         
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
100         
public virtual bool IsCacheable {
101             
get {
102                 
return true;
103             }
104             
set {
105                 
//
106             }
107         }
108         
109         
[Browsable(false)]
110         
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
111         
public virtual bool ShareDBLogonInfo {
112             
get {
113                 
return false;
114             }
115             
set {
116                 
//
117             }
118         }
119         
120         
[Browsable(false)]
121         
[DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
122         
public virtual System.TimeSpan CacheTimeOut {
123             
get {
124                 
return CachedReportConstants.DEFAULT_TIMEOUT;
125             }
126             
set {
127                 
//
128             }
129         }
130         
131         
public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() {
132             rptInvoice rpt =
new rptInvoice();
133             rpt.Site =
this.Site;
134             
return rpt;
135         }
136         
137         
public virtual string GetCustomizedCacheKey(RequestContext request) {
138             String key =
null;
139             
// // The following is the code used to generate the default
140             
// // cache key for caching report jobs in the ASP.NET Cache.
141             
// // Feel free to modify this code to suit your needs.
142             
// // Returning key == null causes the default cache key to
143             
// // be generated.
144             
//
145             
// key = RequestContext.BuildCompleteCacheKey(
146             
// request,
147             
// null, // sReportFilename
148             
// this.GetType(),
149             
// this.ShareDBLogonInfo );
150             
return key;
151         }
152     }
153 }


Gõ tìm kiếm nhanh...